/*normal state*/
ul.menu {
  /*dimension*/

  padding: 0;
  margin: 0;
  border-width: 1px;
  /*position*/

  z-index: 999;
  position: absolute;
  cursor: default;
  /*style*/

  border-style: solid;
  /*color*/

  border-color: gray;
  background-color: window;
  /*eof ulmenu*/

}
/*active state*/
ul.menu.active {
  /*eof ul.menu.active*/

}
ul.menu.active > li.menuShown {
  background-color: inherit;
}
ul.menu.active > li.menuShown.hovered {
  background-color: #add8e6;
}
/*scrollable state*/
ul.menu.scrollable {
  overflow: hidden;
  /*scroll grip*/

  /*hover state*/

  /*upper grip*/

  /*lower grip*/

  /*eof ul.menu.scrollable*/

}
ul.menu.scrollable li.scroller {
  /*dimension*/

  height: 6px;
  padding: 3px 0;
  cursor: default;
  /*color*/

  background-color: buttonface;
  /*position*/

  position: absolute;
  left: 0;
  right: 0;
  z-index: 999;
  /*eof li.scroller*/

}
ul.menu.scrollable li.scroller span {
  display: block;
  width: 7px;
  height: 4px;
  margin: 0 auto;
  background: no-repeat center center;
}
ul.menu.scrollable li.scroller.hovered {
  background-color: buttonface;
  /*dimension*/

  border-width: 1px;
  /*color*/

  border-style: solid;
  border-color: buttonshadow buttonhighlight buttonhighlight buttonshadow;
  /*eof li.scroller:hover*/

}
ul.menu.scrollable li.scroller.hovered span {
  width: 8px;
  height: 5px;
}
ul.menu.scrollable li.scroller.up {
  top: 0;
  display: none;
}
ul.menu.scrollable li.scroller.up span {
  background-image: url('../../image/undecorated/up.png');
}
ul.menu.scrollable li.scroller.down {
  bottom: 0;
}
ul.menu.scrollable li.scroller.down span {
  background-image: url('../../image/undecorated/down.png');
}
/*menu item*/
ul.menu li {
  /*dimension*/

  margin: 0;
  padding: 3px 30px 3px 22px;
  /*position*/

  position: relative;
  /*style*/

  list-style: none;
  cursor: pointer;
  display: block;
  white-space: nowrap;
  /*check mark*/

  /*radio mark*/

}
ul.menu li a {
  text-decoration: none;
  color: inherit;
}
ul.menu li.hovered,
ul.menu li.menuShown {
  background-color: #add8e6;
}
ul.menu li div.checkbox {
  width: 16px;
  height: 16px;
  position: absolute;
  left: 7px;
  top: 8px;
  background: url('../../image/undecorated/checked.gif') no-repeat;
}
ul.menu li.radio div.checkbox {
  background-image: url('../../image/undecorated/radio.gif');
}
/*separator*/
ul.menu li.separator {
  padding: 4px 5px 4px 15px;
  cursor: default;
}
ul.menu li.separator.hovered {
  background-color: inherit;
}
ul.menu li.separator span {
  display: block;
  height: 1px;
  background-color: gray;
}
/*has submenu*/
ul.menu li.hasMenu .arrow {
  position: absolute;
  background: url('../../image/undecorated/arrow-right.gif') no-repeat left center;
  width: 4px;
  height: 100%;
  right: 10px;
  top: 0;
}
ul.menu li.hasMenu ul {
  position: absolute;
}
/*disabled*/
ul.menu li.disabled {
  color: silver;
  cursor: default;
}
ul.menu li.disabled.hovered {
  background-color: inherit;
}
ul.menu li.disabled a {
  cursor: default;
}
/*iconed*/
ul.menu.icon > li {
  padding-left: 30px;
}
ul.menu.icon > li > img.icon {
  position: absolute;
  left: 8px;
  top: 3px;
}
ul.menu.icon > li[data-checked='1'] > img.icon {
  top: 3px;
}
ul.menu.icon > li.separator {
  padding-left: 8px;
}
ul.menu.icon > li > div.checkbox {
  left: 12px;
  top: 10px;
}
ul.menu.icon > li.icon > div.checkbox {
  border: solid 1px;
  border-color: buttonshadow;
  background: url('../../image/undecorated/halftone.png') repeat;
  width: 18px;
  height: 18px;
  left: 6px;
  top: 1px;
}
